home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xml;
-
- import java.io.IOException;
- import java.io.Writer;
-
- public class DebugFlavor extends BaseFlavor {
- public static String NAME = "bug";
-
- public DebugFlavor(SchemaIntf var1) {
- super(var1);
- }
-
- public String getFlavorName() {
- return NAME;
- }
-
- public void write(Writer var1, URI var2) throws IOException {
- (new DebugWriter(super.schema, var2)).writeDocument(var1);
- }
-
- public void parse(URI var1, URI var2, int var3, Object var4) throws IOException {
- throw new RuntimeException("Debug flavor: parse not implemented yet");
- }
-
- public String getSourcePreview(BaseDeclaration var1) {
- return (new DebugWriter(super.schema)).getSourcePreview(var1);
- }
-
- public BaseExemplar createExemplar(SchemaIntf var1) {
- return new DTDExemplar(var1);
- }
-
- public boolean isSupported(Class var1) {
- return true;
- }
-
- public boolean isSupported(String var1) {
- return true;
- }
-
- public void checkForErrors(BaseDeclaration var1) {
- super.checkForErrors(var1);
- }
- }
-